package com.sjy.project.fym.place.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sjy.framework.aspectj.lang.annotation.Excel;
import com.sjy.framework.web.domain.BaseEntity;
import com.sjy.project.fym.team.domain.FyTeam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 防疫点信息对象 fy_place
 * 
 * @author sjy
 * @date 2022-04-17
 */
public class FyPlace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 核酸采样点id */
    @ApiModelProperty(value = "核酸采样点id")
    private Long placeId;

    /** 核酸采样点名称 */
    @Excel(name = "核酸采样点名称")
    @ApiModelProperty(value = "核酸采样点名称")
    private String placeName;

    /** 行政区划 */
    @Excel(name = "行政区划")
    @ApiModelProperty(value = "行政区划")
    private String zone;

    /** 社区 */
    @Excel(name = "社区")
    @ApiModelProperty(value = "社区")
    private String community;

    /** 点位 */
    @ApiModelProperty(value = "点位")
    private String lnglat;

    /** 经度 */
    @ApiModelProperty(value = "经度")
    private BigDecimal lng;

    /** 纬度 */
    @ApiModelProperty(value = "纬度")
    private BigDecimal lat;

    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度-设计院格式")
    private BigDecimal lngSjy;

    /** 纬度 */
    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度-设计院格式")
    private BigDecimal latSjy;

    /** 采样点具体位置 */
    @Excel(name = "采样点具体位置")
    @ApiModelProperty(value = "采样点具体位置")
    private String addr;

    /** 指挥长 */
    @Excel(name = "指挥长")
    @ApiModelProperty(value = "指挥长")
    private String mgrName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    @ApiModelProperty(value = "手机号码")
    private String mgrPhone;

    /** 覆盖人数 */
    @Excel(name = "覆盖人数")
    @ApiModelProperty(value = "覆盖人数")
    private Long coverNum;

    /** 采样单元组数 */
    @Excel(name = "采样单元组数")
    @ApiModelProperty(value = "采样单元组数")
    private Long ygcydyzs;

    /** 采样团队人数 */
    @Excel(name = "采样团队人数")
    @ApiModelProperty(value = "采样团队人数")
    private Long ygcytdrs;

    /** 部门状态（1=正常,2=备用） */
    @Excel(name = "部门状态", readConverterExp = "1=正常,2=备用")
    @ApiModelProperty(value = "部门状态")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    private String delFlag;

    /** 签到打卡半径 单位 米 */
    @Excel(name = "签到打卡半径 单位 米")
    @ApiModelProperty(value = "签到打卡半径 单位 米")
    private Integer signInRadius;
    
    /** 摄像头编号，多个用,分割 */
    @Excel(name = "摄像头编号")
    @ApiModelProperty(value = "摄像头编号，多个用,分割")
    private String cameraCode;
    
    @ApiModelProperty(value = "当前签到人数")
    private Integer signinCount;

    private List<FyTeam> fyTeams;
    public void setPlaceId(Long placeId)
    {
        this.placeId = placeId;
    }

    public Long getPlaceId()
    {
        return placeId;
    }
    public void setPlaceName(String placeName)
    {
        this.placeName = placeName;
    }

    public String getPlaceName()
    {
        return placeName;
    }
    public void setZone(String zone)
    {
        this.zone = zone;
    }

    public String getZone()
    {
        return zone;
    }
    public void setCommunity(String community)
    {
        this.community = community;
    }

    public String getCommunity()
    {
        return community;
    }
    public void setLnglat(String lnglat)
    {
        this.lnglat = lnglat;
    }

    public String getLnglat()
    {
        return lnglat;
    }
    public void setLng(BigDecimal lng)
    {
        this.lng = lng;
    }

    public BigDecimal getLng()
    {
        return lng;
    }
    public void setLat(BigDecimal lat)
    {
        this.lat = lat;
    }

    public BigDecimal getLat()
    {
        return lat;
    }
    public void setAddr(String addr)
    {
        this.addr = addr;
    }

    public String getAddr()
    {
        return addr;
    }
    public void setMgrName(String mgrName)
    {
        this.mgrName = mgrName;
    }

    public String getMgrName()
    {
        return mgrName;
    }
    public void setMgrPhone(String mgrPhone)
    {
        this.mgrPhone = mgrPhone;
    }

    public String getMgrPhone()
    {
        return mgrPhone;
    }
    public void setCoverNum(Long coverNum)
    {
        this.coverNum = coverNum;
    }

    public Long getCoverNum()
    {
        return coverNum;
    }
    public void setYgcydyzs(Long ygcydyzs)
    {
        this.ygcydyzs = ygcydyzs;
    }

    public Long getYgcydyzs()
    {
        return ygcydyzs;
    }
    public void setYgcytdrs(Long ygcytdrs)
    {
        this.ygcytdrs = ygcytdrs;
    }

    public Long getYgcytdrs()
    {
        return ygcytdrs;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setSignInRadius(Integer signInRadius)
    {
        this.signInRadius = signInRadius;
    }

    public Integer getSignInRadius()
    {
        return signInRadius;
    }

    public List<FyTeam> getFyTeams() {
		return fyTeams;
	}

	public void setFyTeams(List<FyTeam> fyTeams) {
		this.fyTeams = fyTeams;
	}

	public BigDecimal getLngSjy() {
		return lngSjy;
	}

	public void setLngSjy(BigDecimal lngSjy) {
		this.lngSjy = lngSjy;
	}

	public BigDecimal getLatSjy() {
		return latSjy;
	}

	public void setLatSjy(BigDecimal latSjy) {
		this.latSjy = latSjy;
	}

	public String getCameraCode() {
		return cameraCode;
	}

	public void setCameraCode(String cameraCode) {
		this.cameraCode = cameraCode;
	}

	public Integer getSigninCount() {
		return signinCount;
	}

	public void setSigninCount(Integer signinCount) {
		this.signinCount = signinCount;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("placeId", getPlaceId())
            .append("placeName", getPlaceName())
            .append("zone", getZone())
            .append("community", getCommunity())
            .append("lnglat", getLnglat())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("lngSjy", getLngSjy())
            .append("latSjy", getLatSjy())
            .append("addr", getAddr())
            .append("mgrName", getMgrName())
            .append("mgrPhone", getMgrPhone())
            .append("coverNum", getCoverNum())
            .append("ygcydyzs", getYgcydyzs())
            .append("ygcytdrs", getYgcytdrs())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("signInRadius", getSignInRadius())
            .toString();
    }
}
